package com.zh.yqbj.exception.accountExcption;

import com.zh.yqbj.constant.ExceptionCodeConstant;

public class DuplicatePhoneException extends Exception{

    private static final String MSG="该手机号已被绑定,请更换手机号后重试,";

    public DuplicatePhoneException(){
        super(MSG+ ExceptionCodeConstant.DUPLICATE_PHONE_ERROR_CODE);
    }
    public DuplicatePhoneException(String msg){
        super(msg+ExceptionCodeConstant.DUPLICATE_PHONE_ERROR_CODE);
    }
}
